/**
 * output package name
 */
package com.kingdee.eas.crm.enumeration;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class FromBillEnum extends StringEnum
{
    public static final String CONTACT_VALUE = "10";
    public static final String ORDER_VALUE = "20";
    public static final String SERVICE_VALUE = "30";
    public static final String RETURNS_VALUE = "40";
    public static final String PROJECT_VALUE = "50";

    public static final FromBillEnum contact = new FromBillEnum("contact", CONTACT_VALUE);
    public static final FromBillEnum order = new FromBillEnum("order", ORDER_VALUE);
    public static final FromBillEnum service = new FromBillEnum("service", SERVICE_VALUE);
    public static final FromBillEnum returns = new FromBillEnum("returns", RETURNS_VALUE);
    public static final FromBillEnum project = new FromBillEnum("project", PROJECT_VALUE);

    /**
     * construct function
     * @param String fromBillEnum
     */
    private FromBillEnum(String name, String fromBillEnum)
    {
        super(name, fromBillEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static FromBillEnum getEnum(String fromBillEnum)
    {
        return (FromBillEnum)getEnum(FromBillEnum.class, fromBillEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(FromBillEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(FromBillEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(FromBillEnum.class);
    }
}